namespace Wilco.SyntaxHighlighting.Engine.Node.Implementation.CommentBlock
{
    /// <summary>
    /// Represents an entity.
    /// </summary>
    public class Entity
    {
        private readonly string start;
        private readonly string end;

        /// <summary>
        /// Gets the string which indicates the start of a comment block.
        /// </summary>
        public string Start
        {
            get
            {
                return start;
            }
        }

        /// <summary>
        /// Gets the string which indicates the end of a comment block.
        /// </summary>
        public string End
        {
            get
            {
                return end;
            }
        }

        /// <summary>
        /// Initializes a new instance of a <see cref="Entity"/> struct.
        /// </summary>
        /// <param name="start">The string which indicates the start of a comment block.</param>
        /// <param name="end">The string which indicates the end of a comment block.</param>
        public Entity(string start, string end)
        {
            this.start = start;
            this.end = end;
        }
    }
}